<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Car Rent Inc register page</title>
</h:head>
<ui:composition template="/templates/reg_login.xhtml">
	<ui:param name="activeIndex" value="6" />
	<ui:define name="login">
		<h:inputText value="#{clientRegisterBean.login}" required="true" />
	</ui:define>
	<ui:define name="password">
		<h:inputText value="#{clientRegisterBean.pass}" required="true" />
	</ui:define>
	<ui:define name="additionla_info">
		<h:outputText value="Enter e-mail " />
		<h:inputText value="#{clientRegisterBean.email}" required="true" />
		<h:outputText value="Enter first name " />
		<h:inputText value="#{clientRegisterBean.firstName}" required="true" />
		<h:outputText value="Enter last name " />
		<h:inputText value="#{clientRegisterBean.lastName}" required="true" />
		<h:outputText value="Enter birth date " />
		<h:inputText value="#{clientRegisterBean.birthDate}" required="true" />
	</ui:define>
	<ui:define name="submit">
		<h:commandButton value="Register"
			action="#{clientRegisterBean.tryRegister}" />
	</ui:define>
</ui:composition>
</html>